import request from '../../utils/request';

/**
 * 薪资档级接口
 */

// 档级列表接口封装
export function grideApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/grade/index/index',
				method: 'post',
				data,
			});
		},
	};
}

// 档级添加接口封装
export function gradeaddApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/grade/index/add',
				method: 'post',
				data,
			});
		},
	};
}

// 档级编辑接口封装
export function gradeeditApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/grade/index/edit',
				method: 'post',
				data,
			});
		},
	};
}

// 档级删除接口封装
export function gradedelApi() {
	return {
		signIn: (data: object) => {
			return request({
				url: '/grade/index/del',
				method: 'post',
				data,
			});
		},
	};
}